	<?php if(! have_posts() ): ?>
	<div class="post">
		<div class="post-title">
			<h1><?php _e('No Result Found', 'igoogler');?></h1>
		</div>
		<div class="post-content">
			<?php if(NULL != igoogler_option("google_custom") ):?>
			<p><?php _e('No related result found by the build-in search system, you may like to wait for a while and try search engine provided by Google.', 'igoogler')?></p>
			<div id="cse" style="width: 100%;">Loading</div>
			<script src="http://www.google.com/jsapi" type="text/javascript"></script>
			<script type="text/javascript">
			//<![CDATA[
			  google.load('search', '1');
			  google.setOnLoadCallback(function() {
			    var customSearchControl = new google.search.CustomSearchControl('<?php echo igoogler_option("google_custom"); ?>');
			    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
			    var options = new google.search.DrawOptions();
			    options.setAutoComplete(true);    
			    customSearchControl.draw('cse', options);
			  }, true);
			//]]>
			</script>
			<link rel="stylesheet"
				href="http://www.google.com/cse/style/look/default.css"
				type="text/css" />
			<?php endif;?>
		</div>
	</div>
	<?php endif;?>
	<?php while( have_posts() ): the_post();?>
	<div id="post-<?php the_ID();?>" <?php post_class(); ?>>
		<h2 class="entry-title">
			<a href="<?php the_permalink();?>" rel="bookmark"
				title="Permalink to <?php the_title();?>"> <?php the_title();?>
			</a>
		</h2>
		<div class="entry-etc">
			<span class="post-permalink"><?php echo substr(get_permalink(),7);?> </span>
			<span>&nbsp;-&nbsp;</span> <span class="post-date"><?php echo time_since(get_the_time('U'));?>
			</span> 
		</div>
		<div class="entry-content">
			<?php the_excerpt();?>
		</div>
	</div>
	<?php endwhile;?>
	<div class="clear"></div>
	<div class="archives-navi">
		<?php igoogler_paged_navi();?>
	</div>
